package com.zy.gmall0401.service;//package com.zy.gmall0401.user.service;


import com.zy.gmall0401.bean.UserAddress;
import com.zy.gmall0401.bean.UserInfo;

import java.util.List;

/**
 * @Author zy
 * @Date 2020/9/28 14:53
 * @Version 1.0
 */

public interface UserService {

    List<UserInfo> getUserInfoListAll();

    UserInfo getUserInfo(String id);

    void addUser(UserInfo userInfo);

    void updateUser(UserInfo userInfo);

    void updateUserByName(String name, UserInfo userInfo);

    void delUser(UserInfo userInfo);

    void delUserid(String id);

    UserInfo login(UserInfo userInfo);

    Boolean verify(String userId);

    public List<UserAddress> getUserAddressList(String userId);
}

